package com.noodles.mall.mapper;

import com.noodles.mall.entity.Cart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CartMapper extends BaseMapper<Cart> {
    List<Cart> selectByUserId(@Param(value = "userId") Integer userId);
}
